package com.czmh.etc.onlinepubsys.entity.mingchuang;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@AllArgsConstructor
@NoArgsConstructor
@Setter@Getter
@TableName("mingchuang_device")
public class Device {
    @TableId
    private String id;

    @TableField("name")
    private String name;

    @TableField("amount")
    private Integer amount;

    @TableField(exist = false)
    @JSONField(serialize = false)
    private String accessKey;
}
